<?php require_once('php/config.php'); ?>
<!doctype html>
<html lang="en">

<head>
	<meta charset="utf-8"/>
	<title>CASA :: SIVA</title>
	<script src="js/validaciones.js" type="text/javascript"></script>
	<link rel="stylesheet" href="css/screen.css" type="text/css" />
    <link rel="stylesheet" href="css/sexyalertbox.css" type="text/css" />
	<script src="js/jquery/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="js/jquery/custom_jquery.js" type="text/javascript"></script>
	<script src="js/jquery/jquery.pngFix.pack.js" type="text/javascript"></script>
	<script type="text/javascript">	$(document).ready(function(){$(document).pngFix( );});</script>
    <script src="js/SexyAlertBox/mootools.js" type="text/javascript"></script>
	<script src="js/SexyAlertBox/sexyalertbox.packed.js" type="text/javascript"></script>
    
    <script type="text/javascript">
		function Carga_error()
		{
			window.addEvent("domready", function() {Sexy = new SexyAlertBox();});
 			Sexy.error('<h1>Error Al iniciar sesion</h1><br/><p>Por favor de verificar que el nombre de usuario y contraseña sea correcto, favor de verificar con el acministrador del sistema si el usuario se encuentra activo.</p>');return false;
		}
	</script>
</head>

<body id="login-bg" <?php if(isset($_GET['e'])){echo 'onload="javascript:Carga_error();"';}?>> 
	<div id="login-holder"><!-- Start: login-holder -->
		<div id="logo-login" align="center"><!-- start logo -->
			<p>Constructora Arechiga S.A De C.V.</p>
            <p>Sistema Integral de Vales de Almacen</p>
		</div><!-- end logo -->
		
        <div class="clear"></div>
		
        <div id="loginbox"><!--  start loginbox .............................. -->
		  <div id="login-inner"><!--  start login-inner -->
				<form id="form_login1" name="form_login1" action="<?php echo $PATH_URL; ?>proceso_index.php" method="post">
                	<table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
						<tr>
							<th width="200">Nombre De Usuario</th>
							<td width="200"><input type="text" id="input_login" name="input_login" class="login-inp" /></td>
						</tr>
						<tr>
							<th>Contraseña</th>
							<td><input type="password" id="input_pass" name="input_pass"  class="login-inp" /></td>
						</tr>
                    	<tr>
                    		<td>&nbsp;</td>
						</tr>
						<tr>
							<td valign="top" align="center" colspan="2">&nbsp;</td>
                            </tr>
                        <tr>
                            <td valign="top" colspan="2" align="center"><input class="submit-login" title="Iniciar Sesion" value="Iniciar Sesi&oacute;n" type="submit" name="login" id="login" onClick="return form_login();"/></td>
                        </tr>
                    </table>
                </form>
		  </div><!--  end login-inner -->
			
            <div class="clear"></div>
			
 		</div><!--  end loginbox -->
 
	</div>
</body>
</html>